package com.wzx.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzx.common.exception.LeadNewsException;
import com.wzx.user.dto.BindingDto;
import com.wzx.user.pojo.Binding;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/3/11 - 14:36
 * @description 标题
 */
public interface BindingService extends IService<Binding> {
    BindingDto queryIsBinding(Integer userId);

    Boolean queryBindingByIdCard(Binding binding) throws Exception;

    void secureBinding(Binding binding) throws LeadNewsException;

    Boolean insertBinding(Binding binding);
}
